package com.pureut.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.system.domain.SampleRequirement;
import com.pureut.system.domain.dto.SampleRequirementDetailsDto;
import com.pureut.system.domain.vo.SampleRequirementVo;

import java.util.List;

/**
 * @Author: pureut
 * @Date: 2024-12-04 16:59:44
 * @Desc: 样品需求
 */
public interface ISampleRequirementService extends IService<SampleRequirement> {

    /**
     * 分页查询
     * @param sampleRequirementVo
     * @return
     */
    List<SampleRequirement> queryPage(SampleRequirementVo sampleRequirementVo);

    /**
     * 新增样品需求
     * @param sampleRequirementVo
     * @return
     */
    Boolean save(SampleRequirementVo sampleRequirementVo);


    /**
     * 更新样品需求
     * @param sampleRequirementVo
     * @return
     */
    Boolean updateById(SampleRequirementVo sampleRequirementVo);

    /**
     * 根据样品申请单id查询list
     * @param id
     * @return
     */
    List<SampleRequirementDetailsDto> getListBySamlpleId(Long id);
}

